package com.oplink.webems.modules.alarm.dao;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;

import com.oplink.webems.common.persistence.BaseDao;
import com.oplink.webems.common.persistence.BaseDaoImpl;
import com.oplink.webems.modules.alarm.entity.AlarmType;

/**
 * Alarm Type Dao
 * @author yizhang
 */
public interface AlarmTypeDao extends AlarmTypeDaoDaoCustom, CrudRepository<AlarmType, Long> {

}


interface AlarmTypeDaoDaoCustom extends BaseDao<AlarmType> {

}

@Component
class AlarmTypeDaoImpl extends BaseDaoImpl<AlarmType> implements AlarmTypeDaoDaoCustom {

}